STEP 8: The newly formatted date and time are printed to the console, but let's display them on the stage.

  • In LOGIC, go to and drag Variable Display to the bottom of main(). Change my_var to my_date. Position this display at the coordinates (-200, 180) by changing the display parameters.
  • Drag out a second Variable Display to the bottom of main(). Change my_var to my_time. Position this display at the coordinates (-200, 130) by changing the display parameters.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)